package com.dingding.gmall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dingding.gmall.common.utils.PageUtils;
import com.dingding.gmall.ware.entity.WareInfoEntity;
import com.dingding.gmall.ware.vo.FareInfoVO;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author liudingding
 * @email sunlightcs@gmail.com
 * @date 2020-07-02 22:56:09
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据收货地址计算运费
     * @param addressId
     * @return
     */
    FareInfoVO getFare(Long addressId);
}

